package com.chidt.zpro.db;

import cn.hutool.db.ds.DSFactory;

import javax.sql.DataSource;
import java.io.PrintStream;
import java.io.UnsupportedEncodingException;

public class DBTest {

    public static void main(String[] args) throws UnsupportedEncodingException {
//        DataSource ds = DSFactory.get();
//        System.setOut(new PrintStream(System.out, true, "UTF-8"));
        System.out.println("测试中文"); // 应正常显示
    }
}
